package com.cskaoyan.order.dal.persistence;


import com.cskaoyan.order.dal.entitys.Order;
import com.cskaoyan.order.form.OrderDetail;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

public interface OrderMapper extends Mapper<Order> {
    Long countAll();

    // 根据订单id查询订单详情
    OrderDetail selectOrderDetailByOrderId(@Param("orderId") String orderId, @Param("deletedFieldExist") boolean deletedFieldExist);

    // 查询deleted字段是否存在
    Object showDeletedColumn();
}